PgDAC

TPgTransaction Members

TPgTransaction class overview.

Properties

Name Description

Active (inherited from TDATransaction)

Used to determine if the transaction is active.

DefaultCloseAction (inherited from TDATransaction)

Used to specify the transaction behaviour when it is destroyed while being active, or when one of its connections is closed with the active transaction.

IsolationLevel

Used to specify how the transactions containing database modifications are handled.

Methods

Name Description

Commit (inherited from TDATransaction)

Commits the current transaction.

Rollback (inherited from TDATransaction)

Discards all modifications of data associated with the current transaction and ends the transaction.

StartTransaction (inherited from TDATransaction)

Begins a new transaction.

Events

Name Description

OnCommit (inherited from TDATransaction)

Occurs after the transaction has been successfully committed.

OnCommitRetaining (inherited from TDATransaction)

Occurs after CommitRetaining has been executed.

OnError (inherited from TDATransaction)

Used to process errors that occur during executing a transaction.

OnRollback (inherited from TDATransaction)

Occurs after the transaction has been successfully rolled back.

OnRollbackRetaining (inherited from TDATransaction)

Occurs after RollbackRetaining has been executed.
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback